package com.iretailer.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.iretailer.mapper.ItemMapper;
import com.iretailer.model.Item;
import com.iretailer.model.SiteItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemService extends ServiceImpl<ItemMapper, Item> {
    @Autowired
    private ItemMapper itemMapper;

    public List<SiteItem> selectAllSiteItem(Integer siteStatus) {
        return itemMapper.selectAllSiteItem(siteStatus);
    }
}
